<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>
  yi
</h1>
<label th:text="${session.User.userName}"></label>
<a th:href="@{/form}">显示数据库数据</a>

<script>
</script>
</body>
</html>